#include "executiveaccount.h"

ExecutiveAccount::ExecutiveAccount(Username* us, Profilo* pr): Account(us,pr){}

void ExecutiveAccount::gestionegruppo(QPushButton *pb){
    pb->setEnabled(true);
}

void ExecutiveAccount::gestEraseG(QPushButton *pb){
    pb->setEnabled(true);
}

void ExecutiveAccount::gestQPBprinc(QPushButton* upgrade){
    upgrade->setEnabled(false);
}

bool ExecutiveAccount::insertContatto(Contatto* con){
    collegamenti.push_back(con);
    return true;
}

int ExecutiveAccount::limitsu(){
    return 0; //nessun limite
}

int ExecutiveAccount::limitsg(){
    return 0;   //nessun limite
}

int ExecutiveAccount::getMax(){
    return 0; //nessun limite di contatti
}
